package com.example.iotmanagerment26.service;

import com.example.iotmanagerment26.domain.Device;
import com.example.iotmanagerment26.domain.DeviceHold;
import com.example.iotmanagerment26.domain.vo.DeviceHoldVO;

import java.util.List;

public interface DeviceHoldService {
    int userBindDevice(DeviceHold dh);

    List<Device> selectUnbindDeviceByUser(String username);

    List<DeviceHoldVO> selectAllDeviceHoldList();

    int unBind(DeviceHold devicehold);

    List<Device> selectbindDeviceByUser(String username);
}
